#!/usr/bin/python
"""
    File:       Error.py
    Brief:      exception
    Author:     Xu Qiang
    Version:    1.0
    Date:      2017 - 4 - 20
"""



class Error( Exception ):
    def __str__( self ):
        superStr = super( Error, self ).__str__()
        if superStr != "":
            return superStr
        else:
            return self.__class__.__name__

class TimeOut( Error ):
    pass

class NotImplement( Error ):
    pass

class WebPageNotExist( Error ):
    pass

class UnknownControlType( Error ):
    pass

class FinalError( Error ):
    pass

